package com.zfzs.post.modules.policy.service;

import com.zfzs.post.modules.policy.domain.PolicyInfo;
import com.zfzs.post.modules.policy.domain.PolicyKind;

import java.util.List;

/**
 * 代理商改的分润政策
 *
 * @author: ck
 * @create: 2019/8/20/15:16
 **/
public interface PolicyInfoService {

    PolicyInfo findOne(PolicyInfo policyInfo);

    PolicyKind findPolicy(Long agnetId,Long terminalTypeId,String id);

    PolicyInfo findById(String id);

    PolicyInfo save(PolicyInfo policyInfo);

    List<PolicyInfo> queryAll();

    Boolean isPresence(Long agentId,Long terminalTypeId);

    PolicyInfo findPolicyInfo(Long agentId,Long terminalTypeId);

    String findPolicyInfoAmount(Long agentId,Long terminalTypeId,String pidId,String policyTypeId);

}
